home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Libraries / tcl7.4b3 / doc / unset.n < prev    next >
Encoding:
Text File  |  1994-12-17  |  1.1 KB  |  35 lines

  1. '\"
  2. '\" Copyright (c) 1993 The Regents of the University of California.
  3. '\" Copyright (c) 1994 Sun Microsystems, Inc.
  4. '\"
  5. '\" See the file "license.terms" for information on usage and redistribution
  6. '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  7. '\" 
  8. '\" @(#) unset.n 1.2 94/12/17 16:19:09
  9. '\" 
  10. .so man.macros
  11. .HS unset tcl
  12. .BS
  13. '\" Note:  do not modify the .SH NAME line immediately below!
  14. .SH NAME
  15. unset \- Delete variables
  16. .SH SYNOPSIS
  17. \fBunset \fIname \fR?\fIname name ...\fR?
  18. .BE
  19.  
  20. .SH DESCRIPTION
  21. .PP
  22. This command removes one or more variables.
  23. Each \fIname\fR is a variable name, specified in any of the
  24. ways acceptable to the \fBset\fR command.
  25. If a \fIname\fR refers to an element of an array then that
  26. element is removed without affecting the rest of the array.
  27. If a \fIname\fR consists of an array name with no parenthesized
  28. index, then the entire array is deleted.
  29. The \fBunset\fR command returns an empty string as result.
  30. An error occurs if any of the variables doesn't exist, and any variables
  31. after the non-existent one are not deleted.
  32.  
  33. .SH KEYWORDS
  34. remove, variable
  35.